﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Anytao.ISpace.BLL;
using Anytao.ISpace.DAL;
using Anytao.ISpace.Entity;

namespace Anytao.ISpace.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            //UserBLL bll = UserBLL.Login("tao", "1");

            //UserDAL dal = new UserDAL();
            //User user = dal.GetUser("tao", "1");

            //Console.WriteLine(user.Role.RoleLevel);

            //Console.Read();

            TalkBLL bll = new TalkBLL();
            Talk tmpTalk = new Talk();
            tmpTalk.Content = "222";
            tmpTalk.UserID = 1;
            tmpTalk.PostTime = DateTime.Now;

            bll.Insert(tmpTalk);     
        }
    }
}
